package src.Players;

import java.io.*;

public class PlayerSave implements Serializable
{
    public String username = "";
    public String password = "";
    public int absX = 0;
    public int absY = 0;
    public int heightLevel = 0;
    public int rights = 0;
    public int[] items;
    public int[] itemsN;
    public int[] equipment;
    public int[] equipmentN;
    public int[] bankItems;
    public int[] bankItemsN;
    public int[] skillLvl;
    public int[] skillXP;

    public PlayerSave(Player plr)
    {
        username = plr.username;
        password = plr.password;
        absX = plr.absX;
        absY = plr.absY;
        heightLevel = plr.heightLevel;
        rights = plr.rights;
        items = plr.items;
        itemsN = plr.itemsN;
        bankItems = plr.bankItems;
        bankItemsN = plr.bankItemsN;
        equipment = plr.equipment;
        equipmentN = plr.equipmentN;
        skillLvl = plr.skillLvl;
        skillXP = plr.skillXP;
    }
}